package com.kinghunt.misp.dal.model.userx;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* 用户-权限白名单
* Created by Mybatis Generator on 2023/07/04
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserPermissionDO {
    /**
     * id
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 权限ID
     */
    private Long permissionId;

    /**
     * 权限码
     */
    private String permissionCode;

    /**
     * 手动调整用户权限的结果：1授权，-1禁用
     */
    private Integer value;
}